package cn.zust.ly.service;


import cn.zust.ly.entity.Tuser;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * Created by liy on 2016/11/10.
 */

public interface UserService {

    Tuser getUserByLoginName(String username);
    List<Tuser> getAllUser();


    boolean doLogin(String username, String pwd, HttpSession session);
    boolean doRegister(Tuser user);

}
